[INFO] cloning repository https://github.com/Sean-Shmulevich/ralph
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sean-Shmulevich/ralph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSean-Shmulevich%2Fralph", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSean-Shmulevich%2Fralph'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aa000e4dcfcbc7605f6ddf8d054c6f765a62541c
[INFO] testing Sean-Shmulevich/ralph against master#f9988fefd3add01f414f52b414308e7872622fee for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSean-Shmulevich%2Fralph" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Sean-Shmulevich/ralph
[INFO] finished tweaking git repo https://github.com/Sean-Shmulevich/ralph
[INFO] tweaked toml for git repo https://github.com/Sean-Shmulevich/ralph written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Sean-Shmulevich/ralph on toolchain f9988fefd3add01f414f52b414308e7872622fee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Sean-Shmulevich/ralph already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded toml_write v0.1.2
[INFO] [stderr]   Downloaded toml v0.8.23
[INFO] [stderr]   Downloaded instability v0.3.11
[INFO] [stderr]   Downloaded dirs-sys v0.5.0
[INFO] [stderr]   Downloaded clap_lex v1.0.0
[INFO] [stderr]   Downloaded serde_spanned v0.6.9
[INFO] [stderr]   Downloaded dirs v6.0.0
[INFO] [stderr]   Downloaded toml_datetime v0.6.11
[INFO] [stderr]   Downloaded darling_macro v0.23.0
[INFO] [stderr]   Downloaded option-ext v0.2.0
[INFO] [stderr]   Downloaded redox_users v0.5.2
[INFO] [stderr]   Downloaded tokio-macros v2.6.0
[INFO] [stderr]   Downloaded darling v0.23.0
[INFO] [stderr]   Downloaded iana-time-zone v0.1.65
[INFO] [stderr]   Downloaded bitflags v2.11.0
[INFO] [stderr]   Downloaded tempfile v3.25.0
[INFO] [stderr]   Downloaded getrandom v0.4.1
[INFO] [stderr]   Downloaded anyhow v1.0.101
[INFO] [stderr]   Downloaded ryu v1.0.23
[INFO] [stderr]   Downloaded darling_core v0.23.0
[INFO] [stderr]   Downloaded clap v4.5.59
[INFO] [stderr]   Downloaded toml_edit v0.22.27
[INFO] [stderr]   Downloaded socket2 v0.6.2
[INFO] [stderr]   Downloaded cc v1.2.56
[INFO] [stderr]   Downloaded mio v1.1.1
[INFO] [stderr]   Downloaded syn v2.0.116
[INFO] [stderr]   Downloaded clap_builder v4.5.59
[INFO] [stderr]   Downloaded chrono v0.4.43
[INFO] [stderr]   Downloaded libc v0.2.182
[INFO] [stderr]   Downloaded tokio v1.49.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bf1f348d45f752b70429320082d84337cd7c483308929b9f8cad581e2ba20134
[INFO] running `Command { std: "docker" "start" "-a" "bf1f348d45f752b70429320082d84337cd7c483308929b9f8cad581e2ba20134", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf1f348d45f752b70429320082d84337cd7c483308929b9f8cad581e2ba20134", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf1f348d45f752b70429320082d84337cd7c483308929b9f8cad581e2ba20134", kill_on_drop: false }`
[INFO] [stdout] bf1f348d45f752b70429320082d84337cd7c483308929b9f8cad581e2ba20134
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9a5a1d789fa673ff06375297da06d3eac5ae98dd36a745d391a2071b952a8cde
[INFO] running `Command { std: "docker" "start" "-a" "9a5a1d789fa673ff06375297da06d3eac5ae98dd36a745d391a2071b952a8cde", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.116
[INFO] [stderr]    Compiling instability v0.3.11
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling castaway v0.2.4
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling clap_lex v1.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling signal-hook-mio v0.2.5
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling anyhow v1.0.101
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling indoc v2.0.7
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling crossterm v0.28.1
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling compact_str v0.8.1
[INFO] [stderr]    Compiling unicode-truncate v1.1.0
[INFO] [stderr]    Compiling clap_builder v4.5.59
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling unicode-width v0.2.0
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling cassowary v0.3.0
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling tempfile v3.25.0
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling clap_derive v4.5.55
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling clap v4.5.59
[INFO] [stderr]    Compiling ratatui v0.29.0
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling ralph-cli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s
[INFO] running `Command { std: "docker" "inspect" "9a5a1d789fa673ff06375297da06d3eac5ae98dd36a745d391a2071b952a8cde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a5a1d789fa673ff06375297da06d3eac5ae98dd36a745d391a2071b952a8cde", kill_on_drop: false }`
[INFO] [stdout] 9a5a1d789fa673ff06375297da06d3eac5ae98dd36a745d391a2071b952a8cde
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4152a03da8f8cd65c9a8ec4413e9bf0467f31287b32243db4f39f6e140c99b70
[INFO] running `Command { std: "docker" "start" "-a" "4152a03da8f8cd65c9a8ec4413e9bf0467f31287b32243db4f39f6e140c99b70", kill_on_drop: false }`
[INFO] [stderr]    Compiling ralph-cli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `tokio::process::Command`
[INFO] [stdout]    --> src/watcher/mod.rs:360:9
[INFO] [stdout]     |
[INFO] [stdout] 360 |     use tokio::process::Command;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 10.32s
[INFO] running `Command { std: "docker" "inspect" "4152a03da8f8cd65c9a8ec4413e9bf0467f31287b32243db4f39f6e140c99b70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4152a03da8f8cd65c9a8ec4413e9bf0467f31287b32243db4f39f6e140c99b70", kill_on_drop: false }`
[INFO] [stdout] 4152a03da8f8cd65c9a8ec4413e9bf0467f31287b32243db4f39f6e140c99b70
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 38ba0f1004e164863dfe93b10a7fb1fb9d1fab1e13a80d47970b98f89db298da
[INFO] running `Command { std: "docker" "start" "-a" "38ba0f1004e164863dfe93b10a7fb1fb9d1fab1e13a80d47970b98f89db298da", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `tokio::process::Command`
[INFO] [stderr]    --> src/watcher/mod.rs:360:9
[INFO] [stderr]     |
[INFO] [stderr] 360 |     use tokio::process::Command;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `ralph-cli` (bin "ralph" test) generated 1 warning (run `cargo fix --bin "ralph" -p ralph-cli --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test rate_limit::tests::test_detect_rate_limit_none ... ok
[INFO] [stdout] test rate_limit::tests::test_detect_rate_limit_usage ... ok
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ralph_cli-3d37026d8af22985)
[INFO] [stdout] test rate_limit::tests::test_detect_rate_limit_429 ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 66 tests
[INFO] [stdout] test agents::api::tests::api_agent_defaults ... ok
[INFO] [stdout] test cli::tests::init_subcommand_parses_without_args ... ok
[INFO] [stdout] test cli::tests::doctor_subcommand_parses_without_args ... ok
[INFO] [stdout] test cli::tests::run_subcommand_parses_fallback_agents ... ok
[INFO] [stdout] test cli::tests::parse_subcommand_parses_prd_path ... ok
[INFO] [stdout] test agents::api::tests::api_agent_requires_key ... ok
[INFO] [stdout] test cli::tests::watch_subcommand_parses_multiple_prds_and_parallel ... ok
[INFO] [stdout] test cli::tests::run_subcommand_parses_agent_iterations_and_timeout_flags ... ok
[INFO] [stdout] test cli::tests::status_subcommand_parses_without_args ... ok
[INFO] [stdout] test cli::tests::run_subcommand_parses_prd_path ... ok
[INFO] [stdout] test cli::tests::unknown_flags_produce_helpful_errors ... ok
[INFO] [stdout] test config::tests::falls_back_to_global_config_when_local_missing ... ok
[INFO] [stdout] test config::tests::prefers_local_ralph_toml_over_global_config ... ok
[INFO] [stdout] test cli::tests::stop_subcommand_parses_all_flag ... ok
[INFO] [stdout] test config::tests::parses_defaults_and_hooks_from_toml ... ok
[INFO] [stdout] test orchestrator::tests::all_tasks_complete_requires_every_task_to_be_complete ... ok
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ralph-766649583ea0d512)
[INFO] [stdout] test orchestrator::tests::captures_stderr_separately_from_stdout ... ok
[INFO] [stdout] test orchestrator::tests::all_tasks_complete_exits_early_without_iteration ... ok
[INFO] [stdout] test orchestrator::tests::detects_completion_signal_in_captured_output ... ok
[INFO] [stdout] test orchestrator::tests::complete_and_in_progress_tasks_do_not_exit_early ... ok
[INFO] [stdout] test git::tests::works_in_fresh_git_repo_with_no_prior_commits ... ok
[INFO] [stdout] test orchestrator::tests::mock_agent_echo_stdout_is_captured ... ok
[INFO] [stdout] test agents::api::tests::api_agent_with_explicit_key ... ok
[INFO] [stdout] test git::tests::creates_branch_from_current_head ... ok
[INFO] [stdout] test git::tests::switches_to_existing_branch_if_it_exists ... ok
[INFO] [stdout] test parser::tests::detects_claude_api_key_errors ... ok
[INFO] [stdout] test parser::tests::parse_prd_times_out_and_uses_fallback_agent ... ignored
[INFO] [stdout] test rate_limit::tests::test_detect_rate_limit_429 ... ok
[INFO] [stdout] test rate_limit::tests::test_detect_rate_limit_none ... ok
[INFO] [stdout] test rate_limit::tests::test_detect_rate_limit_usage ... ok
[INFO] [stdout] test state::tests::append_progress_appends_without_overwriting ... ok
[INFO] [stdout] test state::tests::circular_dependencies_are_detected ... ok
[INFO] [stdout] test state::tests::duplicate_task_ids_are_detected ... ok
[INFO] [stdout] test state::tests::empty_task_list_is_handled_gracefully ... ok
[INFO] [stdout] test state::tests::mark_complete_sets_status_and_persists ... ok
[INFO] [stdout] test state::tests::missing_required_fields_produce_clear_error ... ok
[INFO] [stdout] test state::tests::pick_next_task_respects_dependencies ... ok
[INFO] [stdout] test state::tests::pick_next_task_returns_highest_priority_pending_task ... ok
[INFO] [stdout] test git::tests::commit_all_preserves_expected_commit_message_format ... ok
[INFO] [stdout] test state::tests::state_manager_new_creates_ralph_directory_tree ... ok
[INFO] [stdout] test state::tests::valid_tasks_json_deserializes_correctly ... ok
[INFO] [stdout] test state::tests::write_and_read_tasks_roundtrip_preserves_fields ... ok
[INFO] [stdout] test stop::tests::find_all_lock_files_includes_named_watch_state_dirs ... ok
[INFO] [stdout] test stop::tests::stale_lock_is_detected_and_removed ... ok
[INFO] [stdout] test templates::tests::extract_meta_handles_no_header ... ok
[INFO] [stdout] test templates::tests::extract_meta_handles_title_only ... ok
[INFO] [stdout] test templates::tests::extract_meta_parses_title_and_description ... ok
[INFO] [stdout] test git::tests::commit_all_stages_and_commits_all_changes ... ok
[INFO] [stdout] test tests::create_prd_template_writes_expected_sections ... ok
[INFO] [stdout] test tests::find_active_locks_reads_default_and_named_state_directories ... ok
[INFO] [stdout] test tests::parse_df_k_output_parses_expected_columns ... ok
[INFO] [stdout] test tests::parse_df_k_output_rejects_invalid_shape ... ok
[INFO] [stdout] test tests::run_cli_flags_override_config_values ... ok
[INFO] [stdout] test tests::run_uses_config_defaults_when_flags_not_set ... ok
[INFO] [stdout] test tests::create_prd_template_fails_when_prd_exists ... ok
[INFO] [stdout] test watcher::proccputimes_tests::test_proccputimes_from_pid_invalid ... ok
[INFO] [stdout] test state::tests::write_tasks_failure_does_not_partially_overwrite_existing_file ... FAILED
[INFO] [stdout] test watcher::tests::disk_space_warning_triggers_when_df_reports_low_space ... ok
[INFO] [stdout] test watcher::tests::watcher_exits_when_handle_is_dropped ... ok
[INFO] [stdout] test watcher::tests::stall_detection_fires_after_timeout_with_no_output ... ok
[INFO] [stdout] test watcher::tests::git_conflict_detection_emits_event_for_uu_status ... ok
[INFO] [stdout] test orchestrator::tests::lock_file_is_written_with_pid_and_removed_on_clean_exit ... ok
[INFO] [stdout] test orchestrator::tests::single_iteration_marks_task_complete_and_updates_progress ... ok
[INFO] [stdout] test orchestrator::tests::hard_timeout_kills_agent_process ... ok
[INFO] [stdout] test orchestrator::tests::three_consecutive_incomplete_iterations_trigger_circuit_breaker ... ok
[INFO] [stdout] test parser::tests::parse_prd_claude_api_key_probe_falls_back_to_other_agent ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- state::tests::write_tasks_failure_does_not_partially_overwrite_existing_file stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'state::tests::write_tasks_failure_does_not_partially_overwrite_existing_file' (146) panicked at src/state/mod.rs:581:9:
[INFO] [stdout] assertion failed: write_result.is_err()
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f0e819f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5f0e819f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5f0e819f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5f0e819f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5f0e81a0d17a - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5f0e81a0d17a - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5f0e819fb722 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5f0e819fb722 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5f0e819d02af - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5f0e819d02af - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5f0e819ebbe9 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5f0e81774d7c - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5f0e81774d7c - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5f0e819ebe62 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5f0e819ebe62 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5f0e819d039a - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x5f0e819c4bb9 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5f0e819d154d - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5f0e81a0d93c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5f0e81a0d902 - core[4a92201981c6b77a]::panicking::panic
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x5f0e81689de5 - ralph[b5eb3e1acc7bab3a]::state::tests::write_tasks_failure_does_not_partially_overwrite_existing_file
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state/mod.rs:581:9
[INFO] [stdout]   21:     0x5f0e81680a17 - ralph[b5eb3e1acc7bab3a]::state::tests::write_tasks_failure_does_not_partially_overwrite_existing_file::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/state/mod.rs:557:72
[INFO] [stdout]   22:     0x5f0e81534396 - <ralph[b5eb3e1acc7bab3a]::state::tests::write_tasks_failure_does_not_partially_overwrite_existing_file::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5f0e8176805b - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f0e8176805b - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   25:     0x5f0e8177584b - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   26:     0x5f0e8177584b - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   27:     0x5f0e8177584b - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   28:     0x5f0e8177584b - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   29:     0x5f0e8177584b - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x5f0e8177584b - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   31:     0x5f0e8177584b - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   32:     0x5f0e8176ef64 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   33:     0x5f0e8176ef64 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   34:     0x5f0e81778452 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   35:     0x5f0e81778452 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   36:     0x5f0e81778452 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   37:     0x5f0e81778452 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   38:     0x5f0e81778452 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x5f0e81778452 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   40:     0x5f0e81778452 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x5f0e819f4b6f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   42:     0x5f0e819f4b6f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   43:     0x711623e79aa4 - <unknown>
[INFO] [stdout]   44:     0x711623f06a64 - clone
[INFO] [stdout]   45:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     state::tests::write_tasks_failure_does_not_partially_overwrite_existing_file
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 64 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 10.11s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin ralph`
[INFO] running `Command { std: "docker" "inspect" "38ba0f1004e164863dfe93b10a7fb1fb9d1fab1e13a80d47970b98f89db298da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38ba0f1004e164863dfe93b10a7fb1fb9d1fab1e13a80d47970b98f89db298da", kill_on_drop: false }`
[INFO] [stdout] 38ba0f1004e164863dfe93b10a7fb1fb9d1fab1e13a80d47970b98f89db298da
